$bg-menu: #393D49;
$font-color: #909399;

/*element-ui样式重置*/
.page-wrapper .el-pagination.is-background .btn-prev {
  margin: 0 5px 0 0;
}

.el-table td, .el-table th {
  text-align: center;
}

.el-table__empty-block {
  height: 60px !important;
}

.el-table__empty-text {
  font-size: 14px;
}

.el-dialog__header {
  padding: 15px 15px 5px;
}

.el-dialog__title {
  font-size: 14px;
  font-weight: 600;
}

.el-dialog__body {
  padding: 20px;
}

.el-page-header__left {
  color: #409EFF;
}

.el-page-header__content {
  font-size: 16px;
}


/*scrollbar*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #bfbfbf;
  height: 50px;
  outline-offset: -2px;
  outline: 1px solid #fff;
  -webkit-border-radius: 4px;
  border: 1px solid #fff;
}

::-webkit-scrollbar-track-piece {
  -webkit-border-radius: 4px;
}


/*头部*/
$h-header: 60px;
$bg-header: #23262E;
$color-header: #BDBEC1;

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  height: $h-header;
  line-height: $h-header;
  background-color: $bg-header;
  padding: 0 15px;
  color: $color-header;
  position: fixed;
  top: 0;
  left: 0;

  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;

    a {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
    }

    img {
      padding-right: 5px;
    }
  }

  .nav-right {
    color: $color-header;

    .el-dropdown {
      color: $color-header;
      cursor: pointer;
    }

    .logout {
      color: $color-header;
      margin-left: 15px;
    }

  }
}

.btn-collapse {
  font-size: 24px;
  vertical-align: middle;
  margin-left: 15px;
  cursor: pointer;
}

.logo-text {
  transition: all 0.3s ease-out;
}

.scrollbar-wrapper {
  padding-bottom: 45px;
}

.change-skin {
  font-size: 24px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  cursor: pointer;
  outline: none;
}

.skin-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  li {
    list-style: none;
    width: 100%;
    padding: 5px 10px;
    cursor: pointer;
    margin-bottom: 5px;
    color: #fff;
    border-radius: 2px;
    font-size: 12px;
  }
}

.logout {
  cursor: pointer;
}

#app {
  height: 100%;
}

/*左侧导航栏*/
$bg-menu: #344058;
$menu-width: 200px;

.menu-left {
  width: $menu-width;
  overflow: hidden;
  background-color: $bg-menu;
  height: 100%;
  position: fixed;
  top: $h-header;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease-out;
}

.el-menu {
  background-color: $bg-menu;
  overflow: hidden;
  border-right: none;
}

.el-menu .el-menu {
  background-color: #242D3D;
}

.el-submenu__title {
  padding: 0 15px !important;
}

.el-submenu__title, .el-menu-item {
  color: $color-header;
}

.el-menu-item-group__title {
  padding: 0;
  line-height: 0;
}

.el-submenu__title:hover, .el-menu-item:hover {
  background-color: #03152A;
  color: #fff;
}

.el-menu-item:focus {
  background-color: #03152A;
}

.el-menu-item.is-active:hover {
  color: #409EFF;
}

.el-menu-item.is-active {
  background-color: #03152A;
}

.el-menu--vertical .el-menu--popup {
  padding: 0;
}

/*主框架布局*/
.layout-body {
  position: fixed;
  top: $h-header;
  left: $menu-width;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  transition: all 0.3s ease-out;
}

.body-container {
  padding: 8px;
}

.admin-container {
  width: 100%;
  padding: 8px;
  background-color: #fff;
  border-radius: 4px;
}

.page-title {
  padding: 8px 0;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #eee;
}

.page-wrapper {
  margin: 10px 0;
}

.btn-group {
  padding: 10px 0;
}

.search-form {
  padding: 15px 0;

  .el-form-item {
    margin-bottom: 10px;
  }
}

.line-title {
  font-size: 14px;
  font-weight: 600;
  vertical-align: middle;
  padding: 10px 0;

  &:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 16px;
    background-color: #0c64eb;
    border-radius: 2px;
    vertical-align: sub;
    margin-right: 5px;
  }
}

.list-wrap {
  padding: 15px 0;
}

.operate {
  padding-top: 15px;
}

.hide .el-upload--picture-card {
  display: none;
}

.el-tooltip__popper {
  width: 25%;
}